package la.iok.hzsvn.lewin.movie.service;

import la.iok.hzsvn.lewin.movie.entity.BookChapter;
import la.iok.hzsvn.lewin.movie.entity.BookChapterInstance;
import la.iok.hzsvn.lewin.mybatis.service.BaseService;
import la.iok.hzsvn.share.annotations.NotNull;
import la.iok.hzsvn.share.annotations.NullElement;
import la.iok.hzsvn.share.annotations.Nullable;

import java.util.Collection;

public interface BookChapterInstanceService extends BaseService<BookChapterInstance,Long> {
    Long save(@NotNull BookChapter book, @NotNull Long movieInstanceId);

    /**
     * 标记删除
     * @param ids id集合
     */
    void markFileDeleted(@Nullable @NullElement Collection<Long> ids);
}
